package com.xiaodou.mjf.entity.core;


import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaodou.mjf.entity.core.base.FinancingLoanBase;

/***
 *
 * FinancingLoan实体定义
 * @author XiaoDou.com Code Generator
 * @version 1.0
 * 2015-03-16 16:00:34
 *
 */
@Entity
@DynamicInsert @DynamicUpdate
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class FinancingLoan extends FinancingLoanBase implements Serializable{

	/**序列化标识*/
	private static final long serialVersionUID = -8296643139951275298L;

    public FinancingLoan(){}

    public FinancingLoan(String id){
        this.id = id;
    }
    
    @Override
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public Date getFullScaleTime(){
		return fullScaleTime;
	}
}
